package org.apache.ocean.name;

import org.apache.ocean.CElement;
import org.apache.ocean.CLong;
import org.apache.ocean.TransactionID;
import org.apache.ocean.XMLUtil;
import org.jdom.Element;

public class Cell implements CElement {
  public String assignedReplicationStatus;
  public CLong assignedReplicationNumNodes;
  public CLong nodeMaximumIndexSize;
  public String id;
  public TransactionID replicationID;
  
  public Cell() {}
  
  public Cell(Element root) throws Exception {
  	XMLUtil.reflectToObject(this, root);
  }
  
  public Element toElement() throws Exception {
  	return XMLUtil.reflectToElement("cell", this);
  }
}
